echo off
rem suppose running this file directly from cmd.exe with relative path "/batches" or using shell - doesn't matter.
rem set workDir=E:\Projects\Java\Workspace\IDEA\GoogleCode\
set curDir=%CD%
set runProps=single
set roundsCount=1
cd ..

for /L %%i in (1,1,%roundsCount%) do (
echo ____________________[ round %%i of %roundsCount%]____________________
rem echo starting round number %%i
for /L %%m in (1, 1, 10) do (
 echo                 ____[    mass %%m   ]____
 java -classpath build\classes universum.Main -batch bld\%runProps%.properties -mass %%m -iterate -roundscount  -silent dwi
)
)
cd %curDir%
pause
echo on